package com.cx.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Orders {
    private Integer id;

    private String orderNo;

    private Integer shopId;

    private Integer userId;

    private Integer orderStatus;

    private Integer deliverType;

    private BigDecimal totalMoney;

    private Integer orderType;

    private Integer isPay;

    private Integer addressId;

    private String orderRemarks;

    private Integer isRefund;

    private Integer isAppraise;

    private Integer isClosed;

    private String orderUnique;

    private Date deliveryTime;

    private Date receiveTime;

    private String tradeNo;

    private Date createTime;

    private Date udateTime;

    private String reserved1;

    private String reserved2;

    private List<OrderGoods> orderGoodsList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getDeliverType() {
        return deliverType;
    }

    public void setDeliverType(Integer deliverType) {
        this.deliverType = deliverType;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getOrderRemarks() {
        return orderRemarks;
    }

    public void setOrderRemarks(String orderRemarks) {
        this.orderRemarks = orderRemarks == null ? null : orderRemarks.trim();
    }

    public Integer getIsRefund() {
        return isRefund;
    }

    public void setIsRefund(Integer isRefund) {
        this.isRefund = isRefund;
    }

    public Integer getIsAppraise() {
        return isAppraise;
    }

    public void setIsAppraise(Integer isAppraise) {
        this.isAppraise = isAppraise;
    }

    public Integer getIsClosed() {
        return isClosed;
    }

    public void setIsClosed(Integer isClosed) {
        this.isClosed = isClosed;
    }

    public String getOrderUnique() {
        return orderUnique;
    }

    public void setOrderUnique(String orderUnique) {
        this.orderUnique = orderUnique == null ? null : orderUnique.trim();
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUdateTime() {
        return udateTime;
    }

    public void setUdateTime(Date udateTime) {
        this.udateTime = udateTime;
    }

    public String getReserved1() {
        return reserved1;
    }

    public void setReserved1(String reserved1) {
        this.reserved1 = reserved1 == null ? null : reserved1.trim();
    }

    public String getReserved2() {
        return reserved2;
    }

    public void setReserved2(String reserved2) {
        this.reserved2 = reserved2 == null ? null : reserved2.trim();
    }

    public List<OrderGoods> getOrderGoodsList() {
        return orderGoodsList;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", shopId=" + shopId +
                ", userId=" + userId +
                ", orderStatus=" + orderStatus +
                ", deliverType=" + deliverType +
                ", totalMoney=" + totalMoney +
                ", orderType=" + orderType +
                ", isPay=" + isPay +
                ", addressId=" + addressId +
                ", orderRemarks='" + orderRemarks + '\'' +
                ", isRefund=" + isRefund +
                ", isAppraise=" + isAppraise +
                ", isClosed=" + isClosed +
                ", orderUnique='" + orderUnique + '\'' +
                ", deliveryTime=" + deliveryTime +
                ", receiveTime=" + receiveTime +
                ", tradeNo='" + tradeNo + '\'' +
                ", createTime=" + createTime +
                ", udateTime=" + udateTime +
                ", reserved1='" + reserved1 + '\'' +
                ", reserved2='" + reserved2 + '\'' +
                ", orderGoodsList=" + orderGoodsList +
                '}';
    }
}